import request from '@/utils/request'

// 流水统计
export function flowingStatistics() {
    return request({
        'url': '/app/transactionlog/flowingStatistics',
        'method': 'get',
      
    })
}

export function allInCome() {
    return request({
        'url': '/app/transactionlog/allInCome',
        'method': 'get',
    })
}

// 获取账单数据
export function getBillData(data) {
    return request({
        'url': '/app/transactionlog/selectMonthlyIncomeExpense',
        'method': 'post',
        'data': data
    })
}

// 获取月度账单数据
export function getMonthlyBill(data) {
    return request({
        'url': '/app/transactionlog/selectMonthlyIncomeExpense',
        'method': 'post',
        'data': data
    })
}

// 获取年度账单数据
export function getYearlyBill(data) {
    return request({
        'url': '/app/transactionlog/selectYearlyIncomeExpense',
        'method': 'post',
        'data': data
    })
}


// 获取收支明细列表
export function selectIncomeExpenseList(data) {
    return request({
        'url': '/app/transactionlog/selectIncomeExpenseList',
        'method': 'post',
        'data': data
    })
}
